package org.zoomdev.zoom.validator.annotations;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/**
 * 正则表达式规则
 */
@NotNull
@Retention(RetentionPolicy.RUNTIME)
@Target({java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.PARAMETER})
public @interface RegexpFormat {
    String value();

    String message() default "格式不匹配";

    ;
}
